<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<style>
.form-item {
	margin: 20px 10px;
}

.form-item>label {
	letter-spacing: 3px;
	width: 110px;
	text-align: right;
	display: inline-block;
}

.form-item>label:after {
	content: ":";
}

.form-item input[type=text] {
	width: 100px;
}

.form-item.required>label:before {
	content: "*";
	color: red;
}

#s_province, #s_city, #s_county {
	height: 24px;
	border-radius: 5px;
	border-color: dodgerblue;
}
</style>
<form id="addFangtanForm">
	<h3 style="text-align: center; margin-top: 30px;">访谈记录填写信息详情</h3>
	<br /> <span style="margin-left: 20px;">注：其中 <span
		style="color: red;">*</span> 为必填选项
	</span> <input type="hidden" value="${fangTan.interviewId }" name="fangTanId">
	<br />
	<div class="form-item required">
		<label for="">学生班级</label> <select name="classId" style="height: 24px; 
		border-radius: 5px; border-color: dodgerblue;">
			<option value="">请选择</option>
			<c:forEach items="${classList }" var="x">
				<option value="${x.classId }"
					${classEntity.classId==x.classId ? 'selected':'' }>${x.className }</option>
			</c:forEach>
		</select>
		<label for="">学生姓名</label>
		<input readonly="readonly" value="${student.studentName }"
			name="studentName" type="text" data-options="required:true" class="easyui-textbox" />
	</div>
	<div class="form-item required">
		<label for="">访谈方式</label> <select name="fangTanFangshi" style="height: 24px; border-radius: 5px; border-color: dodgerblue;">
			<option value="微信" ${fangTan.interviewMethod=='微信' ? 'selected':''}>微信</option>
			<option value="QQ" ${fangTan.interviewMethod=='QQ'?'selected':''}>QQ</option>
			<option value="面谈" ${fangTan.interviewMethod=='面谈'?'selected':''}>面谈</option>
		</select>
		<label style="margin-left: 72px" for="">老师姓名</label>
		 <input value="${userinfo.userName }" readonly="readonly" name="teacherName" type="text"
			data-options="required:true" class="easyui-textbox" />
	</div>
	<div class="form-item required">
		<label for="">访谈内容</label><br />
		<textarea name="fangtanContent" style="width: 300px; height: 120px; margin-left: 120px;">
			${fangTan.interviewContent }
		</textarea>
	</div>
</form>